package com.yuanfud.entity.user;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

public class Token implements Serializable {
    @ApiModelProperty("key")
    private String appkey;
    @ApiModelProperty("token")
    private String token;
    @ApiModelProperty("用户名")
    private String userName;
    @ApiModelProperty("用户登录名")
    private String LoginId;
    @ApiModelProperty("用户ID")
    private Integer userId;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getAppkey() {
        return appkey;
    }

    public void setAppkey(String appkey) {
        this.appkey = appkey;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getLoginId() {
        return LoginId;
    }

    public void setLoginId(String loginId) {
        LoginId = loginId;
    }

    @Override
    public String toString() {
        return "Token{" +
                "appkey='" + appkey + '\'' +
                ", token='" + token + '\'' +
                ", userName='" + userName + '\'' +
                ", LoginId='" + LoginId + '\'' +
                '}';
    }
}
